package com.woniuxy.cloud.api.param;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 高强  2022/2/25
 */
@Data
@Accessors(chain = true)
public class BackDepositParam {

    @NotNull(message = "押金不能为空")
    @Min(value = 400,message = "押金最少400")
    @Max(value = 1600,message = "押金最多1600")
    private Double price;

    @NotBlank(message = "留言不能少额，亲！")
    private String orderMessage;
}
